//
//  RKBaseModel.swift
//  RKTemplate
//
//  Created by zhaoke on 2023/7/23.
//

import Foundation
import HandyJSON

///  Base数据模型
///  支持Class, Struct

// class
class RKBaseModel: HandyJSON {
    required init() {}
    /** 使用示例
    var name: String?
    var nameEn: String?
    var channelId: String?
    var seqId: String?
    //
    func mapping(mapper: HelpingMapper) {
        mapper <<<
            self.nameEn <-- "name_en"
        mapper <<<
            self.seqId <-- "seq_id"
        mapper <<<
            self.channelId <-- "channel_id"
    }
    */
}

// struct
struct RKBaseStruct: HandyJSON { }
